import Vue from 'vue'
import 'element-ui/lib/theme-chalk/index.css';

import {
    Button,
    Message,
    Form,
    FormItem,
    Input,
    Container,
    Header,
    Aside,
    Main,
    Menu,
    MenuItem,
    Submenu,
    MenuItemGroup,
    Col,
    Breadcrumb,
    BreadcrumbItem,
    Card,
    Row,
    Table,
    TableColumn,
    Switch,
    Tooltip,
    Pagination,
    Dialog,
    Avatar,
    MessageBox,
    Tag,
    Tree,
    Select,
    Option,
    Cascader,
    Alert,
    Tabs,
    TabPane,
    Steps,
    Step,
    Checkbox,
    CheckboxGroup,
    CheckboxButton,
    Upload,
    Timeline,
    TimelineItem,


} from 'element-ui'


// import { Message } from '../assets/js/resetMessage.js'

//当时创建项目设置成了按需导入，目的是大致认识都是哪一块
Vue.use(Button).use(Row)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Input)
Vue.use(Container)
Vue.use(Header).use(Aside).use(Main).use(Menu).use(MenuItem).use(Submenu).use(MenuItemGroup).use(Col).use(Breadcrumb).use(BreadcrumbItem).use(Card)
Vue.use(Table).use(TableColumn).use(Switch).use(Tooltip).use(Pagination).use(Dialog).use(Avatar).use(Tag).use(Tree).use(Select).use(Option).use(Cascader)
Vue.use(Alert).use(Tabs).use(TabPane).use(Steps).use(Step).use(Checkbox).use(CheckboxGroup).use(CheckboxButton).use(Upload).use(Timeline)
Vue.use(TimelineItem)
Vue.prototype.$message = Message
Vue.prototype.$confirm = MessageBox.confirm